﻿using EasyCore.Domain.Entities;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace EasyAdmin.Domain.Entities.Systems
{
    /// <summary>
    /// 字典
    /// </summary>
    public class SysDict:FullAuditedEntity
    {
        /// <summary>
        /// 唯一标识
        /// </summary>
        public long Id { get; set;}

        /// <summary>
        /// 父节点唯一标识
        /// </summary>
        public long ParentId { get; set; }

        /// <summary>
        /// 字典名称
        /// </summary>
        public string DictLabel { get; set; }

        /// <summary>
        /// 字典值
        /// </summary>
        public string DictValue { get; set; }

        /// <summary>
        /// 序号
        /// </summary>
        public int OrderSort { get; set; }

        /// <summary>
        /// 是否禁用
        /// </summary>
        public bool IsDisabled { get; set; }
    }
}
